package com.yupi.springbootinit.model.dto.search;

import com.yupi.springbootinit.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @ClassName SearchRequest
 * @Description
 * @Author junjun
 * @Date 2023/5/13 10:39
 * @Version V1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SearchRequest extends PageRequest implements Serializable {
    /**
     * 搜索内容
     */
    private String searchText;
    /**
     * 搜索类型
     */
    private String type;
    private static final long serialVersionUID = 1L;
}

